package com.start_eternity.oasissafewalk.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.start_eternity.oasissafewalk.pojo.ParentStudent;
import lombok.Data;

import java.util.List;

@Data
public class ParentDTO
{
    @TableId(type = IdType.AUTO)
    @JsonProperty("pId")
    private Integer pId;

    @JsonProperty("pName")
    private String pName;

    @JsonProperty("sName")
    private String sName; //姓名

    @JsonProperty("pAge")
    private Integer pAge;

    @JsonProperty("pGender")
    private Integer pGender;

    @JsonProperty("pPhone")
    private String pPhone;

    @JsonProperty("pAddress")
    private String pAddress;

    private String email;

    private List<ParentStudent> parentStudentList;

    //添加openid字段
    private String openId;
}
